Problem Note 44641: "DIRECT_EXE libname option will not allow this SQL statement to be passed directly to the DBMS.." is returned when you publish a campaign
SAS® Marketing Automation might write the following warning to the stored process server log when it publishes to the common data model:
WARNING: The current setting of the DIRECT_EXE libname option will not allow this SQL
statement to be passed directly to the DBMS for processing
This behavior is triggered if you set the following macro variable in an autocall macro:
This macro variable, in combination with the SAS option DBIDIRECTEXEC, enables SAS to pass SQL update statements to a database for execution.
The MAPublish process performs several SQL update calls. Although the macro variable SYS_SQL_IP_SPEEDO and the option DBIDIRECTEXEC are set in autocall macros, SAS ignores the SYS_SQL_IP_SPEEDO macro variable if it is set in the autocall macro. The SQL code is not passed to the database, which forces SAS to bring the data back to SAS and execute the SQL locally. Bringing the data back to SAS slows the MAPublish process and might also create deadlock situations.
To work around this problem, set the following two options in the Stored Process autoexec_usermods.sas file:
options dbidirectexec;
%let SYS_SQL_IP_SPEEDO=YES;
Operating System and Release Information
SAS System | SAS Customer Intelligence Studio | Microsoft® Windows® for x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise 32 bit | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium 32 bit | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional 32 bit | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate 32 bit | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista for x64 | 5.3_M3 | 6.1 | 9.2 TS2M3 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-04-23 16:40:20 |
Date Created: | 2011-10-13 11:31:39 |